package p270jp.pxv.android.model;

import java.util.List;
import p270jp.pxv.android.response.PixivResponse;
import p484s6.C5998s;
import p665z6.C7470y;

/* renamed from: jp.pxv.android.model.ResponseAttacher */
/* loaded from: classes2.dex */
public class ResponseAttacher<T> {
    private AttachItemsCallback<T> attachItemsCallback;
    private ExtractItemsCallback<T> extractItemsCallback;
    private ResetItemsCallback resetItemsCallback;
    private FilterItemsCallback<T> filterItemsCallback = C7470y.f31340q;
    private AttachResponseCallback attachResponseCallback = C5998s.f26036u;

    /* renamed from: jp.pxv.android.model.ResponseAttacher$AttachItemsCallback */
    /* loaded from: classes2.dex */
    public interface AttachItemsCallback<T> {
        void attachItems(List<T> list);
    }

    /* renamed from: jp.pxv.android.model.ResponseAttacher$AttachResponseCallback */
    /* loaded from: classes2.dex */
    public interface AttachResponseCallback {
        void attachResponse(PixivResponse pixivResponse);
    }

    /* renamed from: jp.pxv.android.model.ResponseAttacher$ExtractItemsCallback */
    /* loaded from: classes2.dex */
    public interface ExtractItemsCallback<T> {
        List<T> extractItems(PixivResponse pixivResponse);
    }

    /* renamed from: jp.pxv.android.model.ResponseAttacher$FilterItemsCallback */
    /* loaded from: classes2.dex */
    public interface FilterItemsCallback<T> {
        List<T> filterItems(List<T> list);
    }

    /* renamed from: jp.pxv.android.model.ResponseAttacher$ResetItemsCallback */
    /* loaded from: classes2.dex */
    public interface ResetItemsCallback {
        void resetItems();
    }

    public ResponseAttacher(ExtractItemsCallback<T> extractItemsCallback, ResetItemsCallback resetItemsCallback, AttachItemsCallback<T> attachItemsCallback) {
        this.extractItemsCallback = extractItemsCallback;
        this.resetItemsCallback = resetItemsCallback;
        this.attachItemsCallback = attachItemsCallback;
    }

    public static /* synthetic */ List lambda$new$0(List list) {
        return list;
    }

    public static /* synthetic */ void lambda$new$1(PixivResponse pixivResponse) {
    }

    public AttachItemsCallback<T> getAttachItemsCallback() {
        return this.attachItemsCallback;
    }

    public AttachResponseCallback getAttachResponseCallback() {
        return this.attachResponseCallback;
    }

    public ExtractItemsCallback<T> getExtractItemsCallback() {
        return this.extractItemsCallback;
    }

    public FilterItemsCallback<T> getFilterItemsCallback() {
        return this.filterItemsCallback;
    }

    public ResetItemsCallback getResetItemsCallback() {
        return this.resetItemsCallback;
    }

    public void setAttachResponseCallback(AttachResponseCallback attachResponseCallback) {
        this.attachResponseCallback = attachResponseCallback;
    }

    public void setFilterItemsCallback(FilterItemsCallback<T> filterItemsCallback) {
        this.filterItemsCallback = filterItemsCallback;
    }
}
